package com.sz.mes.excel.model;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.file.excel.BaseExcelModel;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotNull;

import com.sz.mes.entity.PurchaseOrder;
/**
* 采购订单 导出model定义
* @author hem
* @version 1.0
* @date 2024-01-10
* Copyright © szhs
*/
@Getter @Setter
@ExcelIgnoreUnannotated
public class PurchaseOrderExportModel extends BaseExcelModel {



    /**
     * 来源单据号
     */
    @ExcelProperty(value = "来源单据号")
    private String sourceNum;



    /**
     * 来源单据行号
     */
    @ExcelProperty(value = "来源单据行号")
    private String sourceNumRow;



    /**
     * 行状态
     */
    @ExcelProperty(value = "行状态")
    private String rowState;



    /**
     * 计划号
     */
    @ExcelProperty(value = "计划号")
    private String planNum;



    /**
     * 料号
     */
    @ExcelProperty(value = "料号")
    private String productNum;



    /**
     * 料品名称
     */
    @ExcelProperty(value = "料品名称")
    private String productName;



    /**
     * 料品规格
     */
    @ExcelProperty(value = "料品规格")
    private String specification;



    /**
     * 采购订单行.采购单位
     */
    @ExcelProperty(value = "采购订单行.采购单位")
    private String unit;



    /**
     * 需求数量
     */
    @ExcelProperty(value = "需求数量")
    private Integer requireNum;



    /**
     * 确认数量
     */
    @ExcelProperty(value = "确认数量")
    private Integer factNum;



    /**
     * 单据编号
     */
    @ExcelProperty(value = "单据编号")
    private String receiptNum;



    /**
     * 行号
     */
    @ExcelProperty(value = "行号")
    private String rowNum;



    /**
     * 采购业务员
     */
    @ExcelProperty(value = "采购业务员")
    private String purchasePerson;



    /**
     * 业务日期
     */
    @DateTimeFormat(D.FORMAT_DATE_Y4MD)
    @ExcelProperty(value = "业务日期")
    private Date businessDate;



    /**
     * 交期
     */
    @DateTimeFormat(D.FORMAT_DATE_Y4MD)
    @ExcelProperty(value = "交期")
    private Date deliveryDate;



    /**
     * 申请到货日期
     */
    @ExcelProperty(value = "申请到货日期")
    private String arrivalDate;



    /**
     * 供应商简称
     */
    @ExcelProperty(value = "供应商简称")
    private String supplierName;



}
